package com.chen.mongodb;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenyulei
 */

public interface BookService {
    List<Book> findAll();

    Book findById(Integer bookId);

    Book save(Book book);

    void deleteById(Integer bookId);
}
